import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './assets/css/common.css'
import '@/plugins/elementUI.js'
import api from '@/api/index.js'
// import Valine from 'valine'
// 引入echarts
import echarts from '@/utils/echarts.js'
// 引用工具函数
import { forMat } from './utils/forMat'

Vue.prototype.$forMat = forMat
Vue.prototype.$echarts = echarts
Vue.prototype.$api = api

Vue.config.productionTip = false

// new Valine({
//   el: '#vcomments',
//   appId: 'cnnq43NAiLNjRO9d1muLOnMQ-gzGzoHsz',
//   appKey: 'zOgupNoRIyA0ePkvpXrzCtMU'
// })

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
